<!-- 服务列表（某分类） -->
<template>
    <div>
        <class-list type="s" :get-list-ajax="getSList" :parms-info="parmsInfo"></class-list>
    </div>
</template>

<script lang="ts">
import {Component, Vue} from 'nuxt-property-decorator'
import {ParmsInfo} from '~/method/institute'
import {getList as getSList} from '~/api/servicehall'
import classList from '~/components/institute/classList.vue'
@Component({
    layout: 'institute',
    head () {
        const that = this as any
        const path = that.$route.path
        const info = that.$store.state.institute[path]
        return {
            title: `${info.cn || '服务列表'}-平台建筑研究院`
        }
    },
    components: {classList}
})
export default class PageInstituteSclass extends Vue {
    parmsInfo: ParmsInfo = {
        classId: 'classId',
        sort: 'sort',
        sortValue: 'sortField',
        area: 'areaIds',
        keyWord: 'serviceName'
    }
    getSList = getSList
}
</script>
